
import request from '@/utils/request'
export function apply(query) {
    return request({
        url: '/api/villagequalityup/upload',
        method: 'post',
        headers: {
            "Content-Type": "multipart/form-data"
        },
        data: query,
        transformRequest: [function (formDatas) {
            return formDatas;
        }],
    })
}
export function apply1(query) {
    return request({
        url: 'api/villagequalityup/uploadszpdf',
        method: 'post',
        headers: {
            "Content-Type": "multipart/form-data"
        },
        data: query,
        transformRequest: [function (formDatas) {
            return formDatas;
        }],
    })
}
// 村庄规划质量提升工作上报记录查询
export function getlist(listquery) {
    return request({
        url: '/api/villagequalityup/getlist',
        method: 'post',
        headers: {
            "Content-Type": "application/json"
        },
        data: listquery
    })
}
//追加评估报告
export function uploadmmpdf(query) {
    return request({
        url: '/api/villagequalityup/uploadmmpdf',
        method: 'post',
        headers: {
            "Content-Type": "multipart/form-data"
        },
        data: query,
        transformRequest: [function (formDatas) {
            return formDatas;
        }],
    })
}
export function uploadexcel(query) {
    return request({
        url: '/api/villagequalityup/uploadexcel',
        method: 'post',
        headers: {
            "Content-Type": "multipart/form-data"
        },
        data: query,
        transformRequest: [function (formDatas) {
            return formDatas;
        }],
    })
}

// 台账查询
export function getledgerList(listquery) {
    return request({
        url: '/api/villageledger/getlist',
        method: 'post',
        headers: {
            "Content-Type": "application/json"
        },
        data: listquery
    })
}

export function updateTown(row) {
    return request({
        url: '/api/villageledger/update',
        method: 'post',
        headers: {
            "Content-Type": "application/json"
        },
        data: row
    })
}
export function getexcel(data) {
    return request({
        url: '/api/villageledger/getexcel',
        method: 'get',
        responseType: 'blob',
        params:data
    })
}

export function tzreviewedprogresslist(listquery) {
    return request({
        url: '/api/villageprogressreviewed/tzreviewedprogresslist',
        method: 'post',
        headers: {
            "Content-Type": "application/json"
        },
        data: listquery
    })
}

export function tzprogresslist(listquery) {
  return request({
      url: '/api/village/tzprogresslist',
      method: 'post',
      headers: {
          "Content-Type": "application/json"
      },
      data: listquery
  })
}

export function tzreviewedczprogresslist(listquery) {
    return request({
        url: '/api/villageprogressreviewed/tzreviewedczprogresslist',
        method: 'post',
        headers: {
            "Content-Type": "application/json"
        },
        data: listquery
    })
}

export function tzprogressczlist(listquery) {
  return request({
      url: '/api/village/tzprogressczlist',
      method: 'post',
      headers: {
          "Content-Type": "application/json"
      },
      data: listquery
  })
}

//辖区规划编制进度
export function tzprogresslistcount(listquery) {
    return request({
        url: '/api/statistical/tzprogresslist',
        method: 'post',
        headers: {
            "Content-Type": "application/json"
        },
        data: listquery
    })
}
//村镇一体规划编制进度
export function tzprogressczlistcount(listquery) {
    return request({
        url: '/api/statistical/tzprogressczlist',
        method: 'post',
        headers: {
            "Content-Type": "application/json"
        },
        data: listquery
    })
}



